package peer.tools;

import java.util.Enumeration;
import java.util.Hashtable;

public class HtView {
	public static String view(Hashtable ht){	
		StringBuffer s=new StringBuffer();
		Enumeration key=ht.keys();
		while (key.hasMoreElements()){
		String k=(String)key.nextElement();
		s.append((ht.get(k))+" : "+k+"\n");
		}
		return s.toString();
	}
}


